<template>
  <div class="topNav">
    <!-- 列表图标 -->
    <div class="topLeft">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-31liebiao"></use>
      </svg>
    </div>

    <!-- 文字图标 -->
    <div class="topContent">
      <span @click="$router.push('/infoUser')">我的</span>
      <span class="active">发现</span>
      <span>云村</span>
      <span>视频</span>
    </div>
    <!-- 搜索图标 -->
    <div class="topRight">
      <svg class="icon" aria-hidden="true" @click="$router.push('/search')">
        <use xlink:href="#icon-sousuo"></use>
      </svg>
    </div>
  </div>
</template>

<script>
export default {
  

};
</script>

<style lang="less" scoped >
  .topNav{
    width: 100%;
    padding: .2rem;
    height: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .topContent{
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 70%;
      height: 100%;
      font-size: .36rem;
      .active{
        font-weight: 900;
      }
    }
  }
</style>